/*=============================================================================
*
*   Copyright (C) 2020 All rights reserved.
*
*   Filename:		test_log.cpp
*
*   Author: Wang Zhecheng - wangzhecheng@yeah.net
*
*   Date: 2020-02-18 16:20
*
*   Last Editors: Wang Zhecheng - wangzhecheng@yeah.net
*
*   Last modified:	2020-08-13 03:08
*
*   Description:
*
=============================================================================*/

#include "../include/io/log.hpp"

LOGGING_REGISTER()

int main() {
  geoxfem::log::log_init(geoxfem::log::severity_level::detail);

  { GEOXFEM_LOG_SEV(detail) << "detail here!"; }
  GEOXFEM_LOG_SEV(info) << "info here!";
  { GEOXFEM_LOG_SEV(trace) << "trace here!"; }
  GEOXFEM_LOG_SEV(process) << "process here!";
  { GEOXFEM_LOG_SEV(debug) << "debug here!"; }
  { GEOXFEM_LOG_SEV(error) << "error here!"; }

  GEOXFEM_LOG() << "plain log";

  /* GEOXFEM_NOT_IMPLEMENTED(); */

  int a = 0;
  GEOXFEM_ASSERT(a == 1);
  return 0;
}
